/*
 * TetrisMatrix.cpp
 *
 *  Created on: Aug 24, 2011
 *      Author: andreas
 */

#include "TetrisMatrix.h"

TetrisMatrix::TetrisMatrix()
{
  for(int x=0; x<10; x++)
  {
    for(int y=0; y<10; y++)
    {
      matrix[x][y] = new Cube();
      matrix[x][y]->setPos(0.0f + x, 0.0f + y, 0.0f);
    }
  }

}

TetrisMatrix::~TetrisMatrix() {}

void TetrisMatrix::draw()
{
  for(int x=0; x<10; x++)
  {
    for(int y=0; y<10; y++)
    {
      matrix[x][y]->draw();
    }
  }

}


